package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 绩效反馈的相关信息
 */
public class PerformanceFeedback {

    // ID（主键）
    private int id;
    // 员工 id
    private String employeeId;
    // 评估 id
    private String evaluationId;
    // 反馈时间
    private String feedbackTime;
    // 反馈内容
    private String feedbackContent;

    // 无参构造函数
    public PerformanceFeedback() {
    }

    // 全参构造函数
    public PerformanceFeedback(int id, String employeeId, String evaluationId, String feedbackTime, String feedbackContent) {
        this.id = id;
        this.employeeId = employeeId;
        this.evaluationId = evaluationId;
        this.feedbackTime = feedbackTime;
        this.feedbackContent = feedbackContent;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public String getEvaluationId() {
        return evaluationId;
    }

    public String getFeedbackTime() {
        return feedbackTime;
    }

    public String getFeedbackContent() {
        return feedbackContent;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public void setEvaluationId(String evaluationId) {
        this.evaluationId = evaluationId;
    }

    public void setFeedbackTime(String feedbackTime) {
        this.feedbackTime = feedbackTime;
    }

    public void setFeedbackContent(String feedbackContent) {
        this.feedbackContent = feedbackContent;
    }

    @Override
    public String toString() {
        return "PerformanceFeedback{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", evaluationId='" + evaluationId + '\'' +
                ", feedbackTime='" + feedbackTime + '\'' +
                ", feedbackContent='" + feedbackContent + '\'' +
                '}';
    }
}